﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class B_BaoMing:NFinal.Struct
    {
		public System.Int32? ID {get;set;}
		public System.Int32? LouPanID {get;set;}
		public System.String Tel {get;set;}
		public System.String Sex {get;set;}
		public System.String XingMing1 {get;set;}
		public System.String XingMing2 {get;set;}
		public System.String XingMing3 {get;set;}
		public System.String CardID1 {get;set;}
		public System.String CardID2 {get;set;}
		public System.String CardID3 {get;set;}
		public System.DateTime? KanFangDate {get;set;}
		public System.String OpenID {get;set;}
		public System.Decimal? JiaGe {get;set;}
		public System.String ZhiFuState {get;set;}
		public System.String OrderID {get;set;}
		public System.String IsCanJia {get;set;}
		public System.String HangBan {get;set;}
		public System.String XingMing4 {get;set;}
		public System.String XingMing5 {get;set;}
		public System.String XingMing6 {get;set;}
		public System.String CardID4 {get;set;}
		public System.String CardID5 {get;set;}
		public System.String CardID6 {get;set;}
		public System.DateTime? AddTime {get;set;}
		public System.String BeiZhu {get;set;}
		public System.String ShenHe {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"ID\":");
					tw.Write(ID==null?"null" : ID.ToString());
					tw.Write(",");
					tw.Write("\"LouPanID\":");
					tw.Write(LouPanID==null?"null" : LouPanID.ToString());
					tw.Write(",");
					tw.Write("\"Tel\":");
					tw.Write("\"");
					tw.Write(Tel==null?"null":Tel);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Sex\":");
					tw.Write("\"");
					tw.Write(Sex==null?"null":Sex);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"XingMing1\":");
					tw.Write("\"");
					tw.Write(XingMing1==null?"null":XingMing1);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"XingMing2\":");
					tw.Write("\"");
					tw.Write(XingMing2==null?"null":XingMing2);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"XingMing3\":");
					tw.Write("\"");
					tw.Write(XingMing3==null?"null":XingMing3);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"CardID1\":");
					tw.Write("\"");
					tw.Write(CardID1==null?"null":CardID1);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"CardID2\":");
					tw.Write("\"");
					tw.Write(CardID2==null?"null":CardID2);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"CardID3\":");
					tw.Write("\"");
					tw.Write(CardID3==null?"null":CardID3);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"KanFangDate\":");
					tw.Write("\"");
					tw.Write(KanFangDate==null?"null":KanFangDate.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"OpenID\":");
					tw.Write("\"");
					tw.Write(OpenID==null?"null":OpenID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"JiaGe\":");
					tw.Write(JiaGe==null?"null" : JiaGe.ToString());
					tw.Write(",");
					tw.Write("\"ZhiFuState\":");
					tw.Write("\"");
					tw.Write(ZhiFuState==null?"null":ZhiFuState);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"OrderID\":");
					tw.Write("\"");
					tw.Write(OrderID==null?"null":OrderID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"IsCanJia\":");
					tw.Write("\"");
					tw.Write(IsCanJia==null?"null":IsCanJia);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"HangBan\":");
					tw.Write("\"");
					tw.Write(HangBan==null?"null":HangBan);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"XingMing4\":");
					tw.Write("\"");
					tw.Write(XingMing4==null?"null":XingMing4);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"XingMing5\":");
					tw.Write("\"");
					tw.Write(XingMing5==null?"null":XingMing5);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"XingMing6\":");
					tw.Write("\"");
					tw.Write(XingMing6==null?"null":XingMing6);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"CardID4\":");
					tw.Write("\"");
					tw.Write(CardID4==null?"null":CardID4);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"CardID5\":");
					tw.Write("\"");
					tw.Write(CardID5==null?"null":CardID5);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"CardID6\":");
					tw.Write("\"");
					tw.Write(CardID6==null?"null":CardID6);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"AddTime\":");
					tw.Write("\"");
					tw.Write(AddTime==null?"null":AddTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"BeiZhu\":");
					tw.Write("\"");
					tw.Write(BeiZhu==null?"null":BeiZhu);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ShenHe\":");
					tw.Write("\"");
					tw.Write(ShenHe==null?"null":ShenHe);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
